package com.jic.market.service.coupon;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.market.entity.coupon.CouponGoods;

import java.util.List;

/**
 * 优惠券商品关联表
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:24:22
 */
public interface CouponGoodsService {

    Long insert(CouponGoods couponGoods);

    Long delete(String promotionId);

    Long update(CouponGoods couponGoods);

    CouponGoods queryByPrimaryKey(Long id);

    List<CouponGoods> query(CouponGoods couponGoods);

    PageResult<CouponGoods> queryPage(CouponGoods couponGoods, Page pageQuery);

}